// This is a basic Flutter widget test.
//
// To perform an interaction with a widget in your test, use the WidgetTester
// utility that Flutter provides. For example, you can send tap and scroll
// gestures. You can also use WidgetTester to find child widgets in the widget
// tree, read text, and verify that the values of widget properties are correct.

import 'package:flutter_test/flutter_test.dart';
import 'package:mybase/base/tool/entitylog/MyApiTestRun.dart';

Future<void> main() async {
  await MyApiTestRun.createApiCode(
      importHeaderFile: "/Users/os/aicollection/spotify/test/templateFile/TemplateImportHeader.txt",
      templateFile: "/Users/os/aicollection/spotify/test/templateFile/TemplateApiDataMap.txt",
      targetFile: "/Users/os/aicollection/spotify/lib/api/moduleApi/CommonApi.dart", ///文件完整路径
      methodNotes: "加载初始化", ///方法注释
      methodName: "common_init", ///方法名
      // apiMethodType: "ApiUtils.PostMethd", ///请求方式Post
      apiMethodType: "ApiUtils.GetMethod", ///请求方式Post
      url: "v1.common/init", ///地址
      entityClassName: "TestEntity"); ///实体类名
}
